using UnityEngine;
using System.Collections;

public class Wallet : MonoBehaviour
{
	// Use this for initialization
	void Start ()
	{
	}
	
	// Update is called once per frame
	void Update ()
	{
		GetComponent<UILabel>().text = string.Format("$ {0}", GameObject.Find("SceneDataMgr").GetComponent<SceneDataMgr>().g_iMoney);
	}
}

